namespace OziMonitoring
{
	/// <summary>
	/// Point on map
	/// </summary>
	public class OziPoint
	{
		/// <summary>
		/// Lat of the point
		/// </summary>
		public double? lat = null;
		/// <summary>
		/// Long of the poin
		/// </summary>
		public double? lon = null;
		/// <summary>
		/// Active flag
		/// </summary>
		public bool Active = false;
		/// <summary>
		/// Speed of the point
		/// </summary>
		public double? speed = null;
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="_lat"></param>
		/// <param name="_lon"></param>
		public OziPoint(double _lat, double _lon)
		{
			lat = _lat;
			lon = _lon;
			Active = true;
		}
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="_lat"></param>
		/// <param name="_lon"></param>
		public OziPoint(double _lat, double _lon, double _speed)
		{
			lat = _lat;
			lon = _lon;
			speed = _speed;
			Active = true;
		}
		/// <summary>
		/// Constructor
		/// </summary>
		public OziPoint()
		{
			Active = false;
		}
	}
}